//
//  HNSH_SignFooter.m
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/4/22.
//

#import "HNSH_SignFooter.h"

@interface HNSH_SignFooter ()

/* bgView */
@property (nonatomic, strong) UIView *bgView;

@end

@implementation HNSH_SignFooter

//MARK: Cycle Methods
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        [self addAllViews];
        [self addAllLayout];
    }
    return self;
}

//MARK: Myself Methods
- (void)addAllViews{
    [self addSubview:self.bgView];
}

- (void)addAllLayout{
    
}

#pragma mark lazy
-(UIView *)bgView {
    if (!_bgView) {
        _bgView = [[UIView alloc]initWithFrame:CGRectMake(20, 0, kScreenWidth-40, 10)];
        _bgView.backgroundColor = [UIColor whiteColor];
        [self clipCornerWithView:_bgView cornerWidth:8 cornerType:UIRectCornerBottomLeft|UIRectCornerBottomRight];
    }
    return _bgView;
}


@end
